package com.mdframe.ai.agent.client;


import org.springframework.stereotype.Component;
import reactor.core.publisher.Flux;

@Component
public class AssistantService {

	private final CustomerSupportAssistant agent;

	public AssistantService(CustomerSupportAssistant agent) {
		this.agent = agent;
	}

	public Flux<String> chat(String chatId, String userMessage) {
		return agent.chat(chatId, userMessage);
	}
	
	public Flux<String> codeGenChat(String chatId, String userMessage) {
		return agent.codeGenChat(chatId, userMessage);
	}

}
